package com.bst.bsj.common.maopu.enums;

import com.bst.bsj.portal.enums.BaseEnum;



public enum AreaTypeEnum implements BaseEnum {

    /**
     * 省
     */
    PROVINCE("province", "省"),

    /**
     * 城市
     */
    CITY("city", "市"),

    /**
     * 县区
     */
    DISTRICT("district", "县区");

    private String code;

    private String name;

    private AreaTypeEnum(String code, String name){
        this.code = code;
        this.name = name;
    }

    @Override
    public String getName() {

        return name;
    }

    @Override
    public String getCode() {

        return code;
    }

}
